package com.mysky.client.mvp.audioplayer.event;

import com.google.gwt.event.shared.EventHandler;
import com.google.gwt.event.shared.GwtEvent;
import com.mysky.client.mvp.audioplayer.event.MDStopEvent.MDStopEventHandler;

public class MDStopEvent extends
		GwtEvent<MDStopEventHandler> {

	public static final Type<MDStopEventHandler> TYPE = new Type<MDStopEventHandler>();

	public MDStopEvent() {
		super();
	}

	public interface MDStopEventHandler extends EventHandler {
		void handleEvent(MDStopEvent event);
	}

	@Override
	public Type<MDStopEventHandler> getAssociatedType() {
		return TYPE;
	}

	@Override
	protected void dispatch(MDStopEventHandler handler) {
		handler.handleEvent(this);
	}
}